package net.sxnic.jhitem.itemssmb;

import net.sxinfo.core.entity.AbstractEntity;
import javax.persistence.*;

import org.hibernate.annotations.BatchSize;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.hibernate.annotations.Cascade;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

import java.util.Date;
import java.util.HashMap;
import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Set;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.OneToOne;
import javax.persistence.Table;


@Entity
@Table(name = "jh_item_ssmb")
@BatchSize(size = 10)
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class ItemSsmb extends AbstractEntity {
	
	private static final long serialVersionUID = 1L;
	

	//columns START
	// 开始时间
	@Column(length=10)
	private String stime;
	// 终止时间
	@Column(length=10)
	private String etime;
	// 实施内容
	private String content;
	// 项目分阶段实施排序
	private int contentOrder;
	// 与主表关联
	@Column(length=50)
	private String baseinfoId;
	//columns END

	
	public ItemSsmb()
	{
		super();
	}
	
	public String getStime() {
		return this.stime;
	}
	
	public void setStime(String value) {
		this.stime = value;
	}
	
	public String getEtime() {
		return this.etime;
	}
	
	public void setEtime(String value) {
		this.etime = value;
	}
	
	public String getContent() {
		return this.content;
	}
	
	public void setContent(String value) {
		this.content = value;
	}
	
	public int getContentOrder() {
		return this.contentOrder;
	}
	
	public void setContentOrder(int value) {
		this.contentOrder = value;
	}
	
	public String getBaseinfoId() {
		return this.baseinfoId;
	}
	
	public void setBaseinfoId(String value) {
		this.baseinfoId = value;
	}
	
}

